\documentclass[12pt, a4paper, twoside]{article}

\usepackage[spanish,activeacute]{babel}
\usepackage[utf8]{inputenc}
\parindent = 15pt
\parskip   = 10pt
\usepackage[width=15.5cm, left=3cm, top=2.5cm, height=24.5cm]{geometry}

% -- misc packages --
\usepackage{caratula}   % to make the cover art
\usepackage{moreverb}   % extends the verbatim package
\usepackage{color}      % to texto color
\usepackage{listings}   % to insert source code (C, Python, HTML, etc...)
\usepackage{subfig}
\usepackage{float}
%~ \usepackage{enumerate}  % para cambiar parametros de las listas enumeradas

% -- graphics packages --
\usepackage[pdftex]{graphicx}	% to include images
%~ \usepackage{wrapfig}    % image surrounded by text
%~ \usepackage{epstopdf}   % eps images

% -- math packages --
\usepackage{amsmath}    % basic math formulas and enviroment
\usepackage{amsfonts}   % extends math with symbols and some alphabet
%~ \usepackage{amssymb}    % more math symbols
%~ \usepackage{mathtools}  % advance math tools

% -- colors definition --
\definecolor{lightskyblue4}{rgb}{0.38,0.48,0.55}
\definecolor{red3}{rgb}{0.8,0,0}
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}

% -- commands --
%~ \newcommand{\com}[1]{\hspace{0.5em}\textcolor{lightskyblue4}{\texttt{/* #1 */}}}
\newcommand{\nota}[1]{\hspace{0.5em}\textcolor{red3}{\texttt{/* #1 */}}}
\newcommand{\fixme}{\hspace{0.5em}\textcolor{red3}{\texttt{[FIXME]}}}
%~ \newcommand{\real}{\ensuremath{\mathbb{R}}}
%~ \newcommand{\grad}{\hspace{-2mm}$\phantom{a}^{\circ}$}
%~ \newcommand{\lyxdot}{.} % for inputs or includes where filenames has some dots
% specialize \ref command
\newcommand{\eq}[1]{[\textit{Eq.}\eqref{#1}]}
\newcommand{\alg}[1]{[\textit{Listing}\eqref{#1}]}
\newcommand{\fig}[1]{[\textit{Fig.}(\ref{#1})]}
\newcommand{\bib}[1]{[\textit{Bib.}\cite{#1}]}

% -- condifigure code styles
\lstset{ %
  language=python,                % the language of the code
  keywordstyle=\color{blue},          % keyword style
  commentstyle=\color{dkgreen},       % comment style
  stringstyle=\color{mauve},         % string literal style
}

% -- package y config for header & footer --
\usepackage{lastpage}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{} % clear all header fields
\fancyhead[LE,RO]{} % Left-Even, Right-Odd
\fancyhead[RE,LO]{} % Right-Even, Left-Odd
\fancyhead[CE,CO]{\textsf{\textsc{Taller de Enlace - Protocolo ARP}}} % Center-Even, Center-Odd
\fancyfoot{} % clear all footer fields
\fancyfoot[LE,RO]{\textbf{\thepage}} % Left-Even, Right-Odd
\fancyfoot[RE,LO]{} % Right-Even, Left-Odd
\fancyfoot[CE,CO]{} % Center-Even, Center-Odd
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}

% -------------------------------------------------------------------------------------------

% -- now, start
\begin{document}{}

\newpage{\pagestyle{empty}\input{caratula.tex}}
\setcounter{page}{1}
\newpage{\pagestyle{empty}\tableofcontents}

\newpage
% Abstract
\section{Abstract}
\input{abstract.tex}

\newpage
% Introduccion
\section{Introducción}
\input{introduccion.tex}

\newpage
% Desarrollo
\section{Resolución de Consignas}
\input{resolucion.tex}

% Conclusiones
\clearpage
\newpage
\section{Conclusiones}
\input{conclusiones.tex}

% Conclusiones
\clearpage
\newpage
\section{Anexo}
\input{anexo.tex}

% Bibliografia
\begin{thebibliography}{99}
\bibitem{bib:rfc} RFC 826, An Ethernet Address Resolution Protocol, David C. Plummer, \texttt{http://tools.ietf.org/html/rfc826}
\bibitem{bib:Scapy} SCAPY \texttt{http://www.secdev.org/projects/scapy/doc/}
\bibitem{bib:Norman Abramson} Norman Abramson \texttt{Teoría de la Información y Codificación, Quinta Edición}
\end{thebibliography}

\end{document}
